package lab02.test16;

public class Test {
    public static void main(String[] args) {
        Add add = new Add();
        add.a = 10;
        add.b = 5;
        System.out.println("加法"+add.add());

        Subtract subtract = new Subtract();
        subtract.a = 10;
        subtract.b = 5;
        System.out.println("减法"+subtract.subtract());

        Divide divide = new Divide();
        divide.a = 10;
        divide.b = 5;
        System.out.println("除法："+divide.divide());

        Multiply multiply = new Multiply();
        multiply.a = 10;
        multiply.b = 5;
        System.out.println("乘法："+multiply.multiply());
    }
}
